package com.cug.zfanspring.bean;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;

import java.sql.Timestamp;

public class Factor {
    @JsonIgnore
    private long id;
    private String area;
    private String factor;
    @JsonIgnore
    private float value;
    @JsonIgnore
    private String alias;
    private int level;
    @JsonFormat(timezone = "GMT+8", pattern = "HH:MM")
    private Timestamp time;
    @JsonIgnore
    private String code;
    @JsonIgnore
    private boolean isRemove;

    public long getId() {
        return id;
    }

    public String getArea() {
        return area;
    }

    public String getFactor() {
        return factor;
    }
    @JsonIgnore
    public float getValue() {
        return value;
    }
    @JsonIgnore
    public String getAlias() {
        return alias;
    }

    public int getLevel() {
        return level;
    }

    public Timestamp getTime() {
        return time;
    }

    public String getCode() {
        return code;
    }
    @JsonIgnore
    public boolean isRemove() {
        return isRemove;
    }

    public void setId(long id) {
        this.id = id;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public void setFactor(String factor) {
        this.factor = factor;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public void setRemove(boolean remove) {
        isRemove = remove;
    }
}
